class Rectangle
    def initialize(length, width)
        @length=length
        @width=width
    end

    def show_rec
        puts "The rectangle's length is #{@length} and the width is #{@width}."
    end

    attr_accessor :length, :width

end

